# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
# Contributor: Esben Haabendal <esben@haabendal.dk>

pkgname=aspell-da
pkgver=4.2.1
pkgrel=1
pkgdesc='Danish dictionary for aspell'
arch=('any')
url='https://github.com/mortenivar/aspell-da'
license=('GPL2')
depends=('aspell')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mortenivar/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('66a32be37615423cdd88c3ccbe81e26bc955068a5d74f1829f0d309ba93741d99f7ccbb335e0fe1a890aada984cc771eb25c00027554509c0f1fbf36fea5fb0b')

build() {
    cd "${pkgname}-${pkgver}"
    ./configure
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
}
